﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace STF.OrangeDog.Model
{
    public class Level:BaseModel
    {
        [Required(ErrorMessage = "{0}不能为空")]
        [StringLength(50), Column(TypeName = "varchar(50)")]
        [Display(Name ="等级名称")]
        public string title { get; set; }
        [Required(ErrorMessage = "{0}不能为空")]
        [StringLength(100), Column(TypeName = "varchar(100)")]
        [Display(Name = "等级描述")]
        public string details { get; set; }
    }
}
